<template>
    <div id="header">
        <div class="header">
            <div class="left">...</div>
            <div class="content">
                <input type="text">
                <p>搜索商品/店铺</p>
            </div>



            <div class="right">登录</div>
        </div>

    </div>
</template>

<script>
export default {
    name: 'Header',
    components: {

    }
}
</script>

<style lang="scss" scoped>
#header {
    position: relative;

    .header {

        width: 100%;
        height: 60px;
        background-color: red;
        display: flex;
        justify-content: center;
        align-items: center;
        justify-content: space-around;
        position: fixed;
        top: 0;
        left: 0;

        .content {
            position: relative;
            display: flex;

            input {
                height: 35px;
                width: 300px;
                border-radius: 30px;
                font-size: 0.4rem;
                background: url() no-repeat;
                background-color: white;
                background-position: 10px 5px;
            }

            p {
                position: absolute;
                line-height: 35px;
                left: 80px;
                top: -10px;
            }
        }


        .right {
            color: white;
        }
    }
}
</style>